<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<portlet:defineObjects />

<c:choose>
      <c:when test="${not empty errors}">
         <ul style="color:red">
             <c:out value="${errors}"/>
        </ul>
      </c:when>
      <c:otherwise>
          <c:out value="${requestScope.arbitraryText}" escapeXml="false"/>
      </c:otherwise>
</c:choose>